package org.niceHome.mapper;

import com.github.pagehelper.Page;
import org.niceHome.base.BaseMapper;
import org.niceHome.entity.Role;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;
import java.util.Objects;

/**
 * @author 静沧浪
 */
@Repository
public interface RoleMapper extends BaseMapper {

    /**
     * 查询所有的角色
     * @return 返回全部角色页面
     */
    List<Role> findAll();
}
